package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialTransferRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialTransferPo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialTransferDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialTransferDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialTransferDomainImpl extends BaseDomainImpl<ContractInitialTransferDto, ContractInitialTransferPo> implements ContractInitialTransferDomain {

    @Resource
    private ContractInitialTransferRepository contractInitialTransferRepository;

    @Override
    public BaseRepository<ContractInitialTransferPo> getMapper() {
        return contractInitialTransferRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialTransferPo>> getRepositoryClass() {
        return ContractInitialTransferRepository.class;
    }

}
